﻿<%@ Page Title="Cập nhật thông tin cá nhân" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true" CodeBehind="UpdatePersonalInfo.aspx.cs" Inherits="EC_Agent.UpdatePersonalInfo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Title" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Maincontent" runat="server">
    <h1 align="center" >CẬP NHẬT THÔNG TIN CÁ NHÂN</h1>
    <br />
    <table align="center" style="border: thin solid #009999; width: 527px">
        <tr>
            <td colspan="2">
                <h4 align="center" 
                    style="border-style: none none solid none; border-bottom-width: thin; border-bottom-color: #000000; color: #FFFFFF; background-color: #33CCCC;">THÔNG TIN TÀI KHOẢN</h4>
            </td>
        </tr>
        <tr>
            <td>
                Tên tài khoản:
            </td>
            <td>
                <asp:Label ID="labUsernameUp" runat="server" Height="28px" Width="178px"></asp:Label>
                <input type="hidden" id="hidMaKH" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                Mật khẩu:
            </td>
            <td>
                <asp:TextBox ID="txtPasswordUp" runat="server" TextMode="Password" Height="28px" 
                    Width="178px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Lặp lại Mật khẩu:
            </td>
            <td>
                <asp:TextBox ID="txtConfirmPasswordUp" runat="server" TextMode="Password" 
                    Height="28px" Width="177px"></asp:TextBox>
                <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="txtPasswordUp"
                    ControlToValidate="txtConfirmPasswordUp" Display="Dynamic"
                    ValidationGroup="txtPasswordUp" ErrorMessage="Mật khẩu không trùng nhau"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <h4 align="center" 
                    style="border-style: none none solid none; border-bottom-width: thin; border-bottom-color: #000000; color: #FFFFFF; background-color: #33CCCC;">Thông tin cá nhân</h4>
            </td>
        </tr>
        <tr>
            <td>
                Họ tên:
            </td>
            <td>
                <asp:TextBox ID="txtTenKHUp" runat="server" Height="28px" Width="219px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Email:
            </td>
            <td>
                <asp:TextBox ID="txtEmailUp" runat="server" Height="28px" Width="219px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Ngày sinh:
            </td>
            <td>
                <asp:DropDownList ID="ddlDayUp" runat="server" Height="22px" Width="53px">
                <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                    <asp:ListItem>13</asp:ListItem>
                    <asp:ListItem>14</asp:ListItem>
                    <asp:ListItem>15</asp:ListItem>
                    <asp:ListItem>16</asp:ListItem>
                    <asp:ListItem>17</asp:ListItem>
                    <asp:ListItem>18</asp:ListItem>
                    <asp:ListItem>19</asp:ListItem>
                    <asp:ListItem>20</asp:ListItem>
                    <asp:ListItem>21</asp:ListItem>
                    <asp:ListItem>22</asp:ListItem>
                    <asp:ListItem>23</asp:ListItem>
                    <asp:ListItem>24</asp:ListItem>
                    <asp:ListItem>25</asp:ListItem>
                    <asp:ListItem>26</asp:ListItem>
                    <asp:ListItem>27</asp:ListItem>
                    <asp:ListItem>28</asp:ListItem>
                    <asp:ListItem>29</asp:ListItem>
                    <asp:ListItem>30</asp:ListItem>
                    <asp:ListItem>31</asp:ListItem>
                    <asp:ListItem></asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlMonthUp" runat="server" Height="28px" Width="89px">
                    <asp:ListItem Value="1">Tháng 1</asp:ListItem>
                    <asp:ListItem Value="2">Tháng 2</asp:ListItem>
                    <asp:ListItem Value="3">Tháng 3</asp:ListItem>
                    <asp:ListItem Value="4">Tháng 4</asp:ListItem>
                    <asp:ListItem Value="5">Tháng 5</asp:ListItem>
                    <asp:ListItem Value="6">Tháng 6</asp:ListItem>
                    <asp:ListItem Value="7">Tháng 7</asp:ListItem>
                    <asp:ListItem Value="8">Tháng 8</asp:ListItem>
                    <asp:ListItem Value="9">Tháng 9</asp:ListItem>
                    <asp:ListItem Value="10">Tháng 10</asp:ListItem>
                    <asp:ListItem Value="11">Tháng 11</asp:ListItem>
                    <asp:ListItem Value="12">Tháng 12</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddlYearUp" runat="server" Height="28px" Width="81px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Địa chỉ:
            </td>
            <td>
                <asp:TextBox ID="txtDiaChiUp" runat="server" Height="28px" Width="218px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Điện thoại:
            </td>
            <td>
                <asp:TextBox ID="txtDienThoaiUp" runat="server" Height="28px" Width="158px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Số thẻ tín dụng:
            </td>
            <td>
                <asp:TextBox ID="txtSoTheTinDungUp" runat="server" Height="28px" Width="218px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:Button ID="btnCapNhat" runat="server" Font-Bold="True" 
                    onclick="btnClick_Update" Text="Cập nhật" Width="98px" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="sidecontent" runat="server">
<p class="title_general">
        <b>Menu khách hàng</b></p>
        <p><b>
            <asp:Label ID="LabWelcome" runat="server" Text="Xin chào " Visible="False"></asp:Label>
        <asp:Label
                ID="LabUser" runat="server" ForeColor="#33CCCC" Visible="False"></asp:Label></b></p>
    <ul>
        <li id = "DangNhap" runat="server" class="city_item"><a href="LoginKhachHang.aspx">Đăng nhập</a></li>
        <li id = "DangKy" runat="server" class="city_item"><a href="Register.aspx">Đăng ký</a></li>
        <li id = "UpdateInfo" runat="server" class="city_item"><a href="UpdatePersonalInfo.aspx">Cập nhật thông tin cá nhân</a></li>
        <li id = "LichSuGD" runat="server" class="city_item"><a href="HistoryOfTransaction.aspx">Lịch sử giao dịch</a></li>
        <li id = "Logout" runat="server" class="city_item"><a href="LogoutKhachHang.aspx">Đăng xuất</a></li>
    </ul>
</asp:Content>
